<template>
    <div>
        <el-button @click="fetchData">请求</el-button>
    </div>
</template>

<script lang='ts' setup>
import {findAllUser} from "@/apis/UserApi"
const fetchData =async () => {
    const res = await findAllUser()
    console.log(res);
}
</script>

<style lang='scss' scoped></style>